//
//  SportModeCell.m
//  Lightthings
//
//  Created by Hero on 2024/11/16.
//

#import "SportModeCell.h"
#import "SportModeModel.h"
@implementation SportModeCell

- (void)setModel:(SportModeModel *)model {
    [super setModel:model];
    
    self.iconView.image = U_imageNamed(model.icon);
    self.nameLab.text = model.title;
    self.nameLab.textColor = KLColor(model.titleColor);
 
    self.hotLab.text = model.hot;
    self.headtLab.text = model.heart;
    self.distanceLab.text = model.distance;
    self.stepLab.text = model.step;
    
}

- (void)setUpSubviews {
    
}

- (void)awakeFromNib {
    [super awakeFromNib];
   
    self.backgroundColor = [UIColor whiteColor];

    self.layer.shadowColor = [UIColor blackColor].CGColor;
    self.layer.shadowOpacity = 0.1;
    self.layer.shadowOffset = CGSizeZero;
    self.layer.shadowRadius = 10;
    self.layer.masksToBounds = NO;
    // Initialization code
}

@end
